<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<script>


function psnInfoViewByhxdw(obj,tableId,titleName) {
	var url;
	url = ctx+"/proposal/2014/view/dialog/psnInfoView_zjk_hxdw?parentTab="+tableId+"&type=edit&TB_iframe=true&height=460&width=910";
	$(obj).parents("tr").find(":radio").attr("checked",true);	
	if(!$("#"+tableId+" :radio:checked").length>0){
		scmWarn(irisNotes.pleaseSelectARow);
		return false;
	}
	
	if(url!=null&&url!=""){
		// showThickBox(url,irisNotes.viewResearcherInformation);
		var title=irisNotes.viewResearcherInformation;
		if (titleName != undefined)
		{
			title = titleName;
		}
		tb_show(title,url,false);
	}
}



</script>
<div class="t_bar">
	 候选单位情况表
</div>
<table id="units" class="table01 t_css" border="0" cellspacing="0" cellpadding="0">
	<thead>
		<tr>
			<th width="5%" align="center">序号</th>
			<th width="18%" align="center">单位名称</th>
			<th width="5%" align="center">排名</th>
			<th width="18%" align="center">联系人</th>
			<th width="18%" align="center">联系电话</th>
			<th width="18%" align="center">电子信箱</th>
			<th width="18%" align="center">传真</th>
		</tr>
	</thead>
	<tbody>
		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/units/organization" var="situation">
			<tr>
				<td align="center"><input type="radio" name="units_seq" style="display: none"/>
				<input type="hidden" name="units/organization[${flag}${index}]/zip_code" value="<x:out select="$situation/zip_code" />" />
				<input type="hidden" name="units/organization[${flag}${index}]/address" value="<x:out select="$situation/address" />" />
				<input type="hidden" name="units/organization[${flag}${index}]/org_place" value="<x:out select="$situation/org_place" />" />	
				<input type="hidden" name="units/organization[${flag}${index}]/nature_name" value="<x:out select="$situation/nature_name" />" />
				<input type="hidden" name="units/organization[${flag}${index}]/nature_value" value="<x:out select="$situation/nature_value" />" />
				<input type="hidden" name="units/organization[${flag}${index}]/enterprise_number" value="<x:out select="$situation/enterprise_number" />" />
				<input type="hidden" name="units/organization[${flag}${index}]/contact_mobile" value="<x:out select="$situation/contact_mobile" />" />
				<input type="hidden" name="units/organization[${flag}${index}]/contribution" value="<x:out select="$situation/contribution" />" />
				<input type="hidden" name="units/organization[${flag}${index}]/contribution_hidden" value="<x:out select="$situation/contribution_hidden" />" />
				<span name="units/organization[${flag}${index}]@seq_no">${index+1}</span>
				</td>
				<td align="center">
					<span name="units/organization[${flag}${index}]/org_name"><a href="#" class="yase" onclick="psnInfoViewByhxdw(this,'units')"><x:out select="$situation/org_name" /></a></span>
				</td>
				<td align="center">
					<span name="units/organization[${flag}${index}]/rank"><x:out select="$situation/rank" /></span>
				</td>
				<td align="center">
					<span name="units/organization[${flag}${index}]/contact_name"><x:out select="$situation/contact_name" /></span>
				</td>
				<td align="center">
					<span name="units/organization[${flag}${index}]/org_tel"><x:out select="$situation/org_tel" /></span>
				</td>
				<td align="center">
					<span name="units/organization[${flag}${index}]/email"><x:out select="$situation/email" /></span>
				</td>
				<td align="center">
					<span name="units/organization[${flag}${index}]/fax2"><x:out select="$situation/fax2" /></span>
				</td>
					
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>

	</tbody>

</table>